<div class="row">
    <div class="col-md-12">
        <div class="search-panel">
            <form>
                <label>标题<input name="title" class="input" value="{$title}"></label>
                <label>状态
                    <select name="status" class="input">
                        <option value="">全部</option>
                        <option value="1">开启</option>
                        <option value="0">关闭</option>
                    </select>
                </label>
                <label><input  type="submit" class="btn btn-primary" value="搜索"></label>
            </form>
        </div>
        <div class="more-panel">
            <a class="pull-right text-success btn btn-info"  href="javascript:Admin.openIFrame('编辑位置','{$modify_url}')" title="添加新位置"><i class="fa fa-plus fs-16"></i></a>
        </div>
        <table class="table table-striped  table-hover">
            <thead>
            <tr>
                <th>#</th>
                <th>模块名</th>
                <th>模块位置</th>
                <th>状态</th>
                <th>添加时间</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            {foreach $list as $item}
            <tr>
                <td>{$item.id}</td>
                <td>{$item.title}</td>
                <td>{$item.position}</td>
                <td><span class="label label-info">{$item.status_dis}</span></td>
                <td>{$item.created_at_dis}</td>
                <td>
                    <a class="text-success btn btn-info" title="查看内容" href="{$detail_url}/id/{$item.id}"><i class="fa fa-list-ol"></i></a> 
                    <a class="text-success btn btn-info" title="编辑" href="javascript:Admin.openIFrame('编辑位置','{$modify_url}/id/{$item.id}')"><i class="fa fa-pencil"></i></a>
                    <!--|<a class="text-danger" title="删除" href="javascript:Admin.confirm('编辑位置','{$del_url}/id/{$item.id}')"><i class="fa fa-remove"></i></a>-->
                </td>
            </tr>
            {/foreach}
            </tbody>
        </table>
        <div>
            {$list->render()}
        </div>
    </div>
</div>

